package com.alibaba.ai.service.impl;

import com.alibaba.ai.dao.HotbotMapper;
import com.alibaba.ai.service.HotbotService;
import com.alibaba.fastjson.JSON;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class HotbotServiceImpl implements HotbotService {
    @Resource
    private HotbotMapper hotbotMapper;
    @Override
    public String selectHotbot(String eXareaName, String cCover, String cAveragePrice, String cPrice) {
        return JSON.toJSONString(hotbotMapper.selectHotbot(eXareaName,cCover,cAveragePrice,cPrice));
    }
}
